package com;

import java.sql.Timestamp;
import java.sql.Date;

public class SaleOrder {
	// SaleOrder refers to SaleShop
	// refers to ResPartner

	private int id;// serial NOT NULL,
	private int create_uid;// integer,
	private Timestamp create_date;// timestamp without time zone,
	private Timestamp write_date;// timestamp without time zone,
	private int write_uid;// integer,
	private String origin;// character varying(64), -- Source Document
	private String picking_policy;// character varying(16) NOT NULL, -- Picking
									// Policy
	private String order_policy;// character varying(16) NOT NULL, -- Shipping
								// Policy
	private int shop_id;// integer NOT NULL, -- Shop
	private String client_order_ref;// character varying(64), -- Customer
									// Reference
	private Date date_order;// date NOT NULL, -- Ordered Date
	private int partner_id;// integer NOT NULL, -- Customer
	private String note;// , -- Notes
	private int fiscal_position;// integer, -- Fiscal Position
	private int user_id;// -- Salesman
	private int payment_term;// integer, -- Payment Term
	private int company_id;// integer, -- Company
	private java.math.BigDecimal amount_tax;// numeric, -- Taxes
	private String state;// character varying(16), -- Order State
	private int pricelist_id;// integer NOT NULL, -- Pricelist
	private int project_id;// integer, -- Analytic Account
	private int incoterm;// integer, -- Incoterm
	private int partner_order_id;// integer NOT NULL, -- Ordering Contact
	private int partner_invoice_id;// integer NOT NULL, -- Invoice Address
	private java.math.BigDecimal amount_untaxed;// numeric, -- Untaxed Amount
	private Date date_confirm;// -- Confirmation Date
	private java.math.BigDecimal amount_total;// numeric, -- Total
	private String name;// character varying(64) NOT NULL, -- Order Reference
	private int partner_shipping_id; // integer NOT NULL, -- Shipping Address
	private boolean shipped;// boolean -- Delivered
	private String invoice_quantity;// character varying(16) NOT NULL, --
									// Invoice on
	private int section_id;// integer, -- Sales Team

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getCreate_uid() {
		return create_uid;
	}

	public void setCreate_uid(int create_uid) {
		this.create_uid = create_uid;
	}

	public Timestamp getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Timestamp create_date) {
		this.create_date = create_date;
	}

	public Timestamp getWrite_date() {
		return write_date;
	}

	public void setWrite_date(Timestamp write_date) {
		this.write_date = write_date;
	}

	public int getWrite_uid() {
		return write_uid;
	}

	public void setWrite_uid(int write_uid) {
		this.write_uid = write_uid;
	}

	public String getOrigin() {
		return origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public String getPicking_policy() {
		return picking_policy;
	}

	public void setPicking_policy(String picking_policy) {
		this.picking_policy = picking_policy;
	}

	public String getOrder_policy() {
		return order_policy;
	}

	public void setOrder_policy(String order_policy) {
		this.order_policy = order_policy;
	}

	public int getShop_id() {
		return shop_id;
	}

	public void setShop_id(int shop_id) {
		this.shop_id = shop_id;
	}

	public String getClient_order_ref() {
		return client_order_ref;
	}

	public void setClient_order_ref(String client_order_ref) {
		this.client_order_ref = client_order_ref;
	}

	public Date getDate_order() {
		return date_order;
	}

	public void setDate_order(Date date_order) {
		this.date_order = date_order;
	}

	public int getPartner_id() {
		return partner_id;
	}

	public void setPartner_id(int partner_id) {
		this.partner_id = partner_id;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public int getFiscal_position() {
		return fiscal_position;
	}

	public void setFiscal_position(int fiscal_position) {
		this.fiscal_position = fiscal_position;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public int getPayment_term() {
		return payment_term;
	}

	public void setPayment_term(int payment_term) {
		this.payment_term = payment_term;
	}

	public int getCompany_id() {
		return company_id;
	}

	public void setCompany_id(int company_id) {
		this.company_id = company_id;
	}

	public java.math.BigDecimal getAmount_tax() {
		return amount_tax;
	}

	public void setAmount_tax(java.math.BigDecimal amount_tax) {
		this.amount_tax = amount_tax;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public int getPricelist_id() {
		return pricelist_id;
	}

	public void setPricelist_id(int pricelist_id) {
		this.pricelist_id = pricelist_id;
	}

	public int getProject_id() {
		return project_id;
	}

	public void setProject_id(int project_id) {
		this.project_id = project_id;
	}

	public int getIncoterm() {
		return incoterm;
	}

	public void setIncoterm(int incoterm) {
		this.incoterm = incoterm;
	}

	public int getPartner_order_id() {
		return partner_order_id;
	}

	public void setPartner_order_id(int partner_order_id) {
		this.partner_order_id = partner_order_id;
	}

	public int getPartner_invoice_id() {
		return partner_invoice_id;
	}

	public void setPartner_invoice_id(int partner_invoice_id) {
		this.partner_invoice_id = partner_invoice_id;
	}

	public java.math.BigDecimal getAmount_untaxed() {
		return amount_untaxed;
	}

	public void setAmount_untaxed(java.math.BigDecimal amount_untaxed) {
		this.amount_untaxed = amount_untaxed;
	}

	public Date getDate_confirm() {
		return date_confirm;
	}

	public void setDate_confirm(Date date_confirm) {
		this.date_confirm = date_confirm;
	}

	public java.math.BigDecimal getAmount_total() {
		return amount_total;
	}

	public void setAmount_total(java.math.BigDecimal amount_total) {
		this.amount_total = amount_total;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getPartner_shipping_id() {
		return partner_shipping_id;
	}

	public void setPartner_shipping_id(int partner_shipping_id) {
		this.partner_shipping_id = partner_shipping_id;
	}

	public boolean isShipped() {
		return shipped;
	}

	public void setShipped(boolean shipped) {
		this.shipped = shipped;
	}

	public String getInvoice_quantity() {
		return invoice_quantity;
	}

	public void setInvoice_quantity(String invoice_quantity) {
		this.invoice_quantity = invoice_quantity;
	}

	public int getSection_id() {
		return section_id;
	}

	public void setSection_id(int section_id) {
		this.section_id = section_id;
	}
}
